﻿@model IEnumerable<DA.ERP_Suppliers>
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>
    Index</h2>
<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            Name
        </th>
        <th>
            VAT_Number
        </th>
        <th>
            Address
        </th>
        <th>
            City
        </th>
        <th>
            Phone_Number
        </th>
        <th>
            Customer_Number
        </th>
        <th>
            Note
        </th>
        <th>
            Additional_Phone
        </th>
        <th>
            EMail
        </th>
        <th>
            Fax
        </th>
        <th>
            Activity_Hours
        </th>
        <th>
            Branch_line
        </th>
        <th>
            Presentor_name
        </th>
        <th>
            Crew_Number
        </th>
        <th>
        </th>
    </tr>
    @foreach (var item in Model)
    {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.VAT_Number)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Address)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.City)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Phone_Number)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Customer_Number)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Note)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Additional_Phone)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.EMail)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Fax)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Activity_Hours)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Branch_line)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Presentor_name)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Crew_Number)
            </td>
            <td>
                @Html.ActionLink("Edit", "Edit", new { id = item.SupplierId }) |
                @Html.ActionLink("Details", "Details", new { id = item.SupplierId }) |
                @Html.ActionLink("Delete", "Delete", new { id = item.SupplierId })
            </td>
        </tr>
    }
</table>
